package com.nuoniu.sibanyun.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 条码模版
 * </p>
 *
 * @author 小啊刚
 * @since 2021-11-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bc_barcode_template")
@ApiModel(value="ErpBarcodeTemplate对象", description="条码模版")
public class ErpBarcodeTemplate extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账套id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "租户id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "模版编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "模版名字")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "适用对象")
    @TableField("applicable_object")
    private String applicableObject;

    @ApiModelProperty(value = "模版内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "是否默认模板")
    @TableField("is_default")
    private Boolean isDefault;

    @ApiModelProperty(value = "描述")
    @TableField("remarks")
    private String remarks;


}
